package com.pavco.caribbeanvisit.client;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.pavco.caribbeanvisit.client.objects.LoginInfo;
import com.pavco.caribbeanvisit.shared.models.Attraction;
import com.pavco.caribbeanvisit.shared.models.Country;

@RemoteServiceRelativePath("generic")
public interface RpcService extends RemoteService {
  String getFeedFeed(String url);
  
  ArrayList<Country> getAllCountries();
  void addCountry(Country country);
  Country getCountry(String countryName);
  ArrayList<Country> getCountriesWithAttractionsWithTags();
  
  ArrayList<Attraction> getAttraction(String attractionName);
  ArrayList<Attraction> getAttractions(ArrayList<String> countries, ArrayList<String> tags);
  
  ArrayList<String> getAllTags();
  
  public LoginInfo login(String requestUri);
}